<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" 
%><%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" 
%><%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" 
%><%@ taglib tagdir="/WEB-INF/tags" prefix="cohesion"
%><%@ page contentType="text/html;charset=ISO-8859-1"
%><html:html>
    <head>
        <title><bean:message key="V_paa.title"/></title>
        <html:base/>
        <link rel="stylesheet" type="text/css" href="../css/style.css"></link>
        <script type="text/javascript" src="../_tooltips/js/prototype.js"></script>
        <script type="text/javascript" src="../_tooltips/js/HelpBalloon.js"></script>
        <script type="text/javascript" src="../scripts/datetimepicker.js"></script>
        <style type="text/css">
        div#box752796 {width: 400px; margin: 40px auto; }
        form#752796 {float: left; margin: 0; padding: 0; display: inline; width: 400px; }
        form#752796 p {float: left; margin: 0; padding: 0; display: inline; }
        form#752796 label {float: left; margin: 0; padding: 0; display: inline; overflow: hidden; }
        form#752796 input {float: left; margin: 0; padding: 0; display: inline; }
          form#752796 p#752807_C {clear: both; width: 400px; }
          form#752796 p#752807_C label {clear: both; width: 400px; }
          form#752796 p#752807_C input {clear: both; width: 396px; }
          form#752796 p#752797_C {clear: both; width: 400px; }
          form#752796 p#752797_C label {clear: both; width: 400px; }
          form#752796 p#752797_C input {clear: both; width: 396px; }
          form#752796 p#752799_C {clear: both; width: 400px; }
          form#752796 p#752799_C label {clear: both; width: 400px; }
          form#752796 p#752799_C input {clear: both; width: 396px; }
          form#752796 p#752804_C {clear: both; width: 400px; }
          form#752796 p#752804_C label {clear: both; width: 400px; }
          form#752796 p#752804_C input {clear: both; width: 396px; }
          form#752796 p#752798_C {clear: both; width: 400px; }
          form#752796 p#752798_C label {clear: both; width: 400px; }
          form#752796 p#752798_C input {clear: both; width: 396px; }
          form#752796 p#752800_C {clear: both; width: 400px; }
          form#752796 p#752800_C label {clear: both; width: 400px; }
          form#752796 p#752800_C input {clear: both; width: 396px; }
          form#752796 p#752806_C {clear: both; width: 400px; }
          form#752796 p#752806_C label {clear: both; width: 400px; }
          form#752796 p#752806_C input {clear: both; width: 396px; }
          form#752796 p#752802_C {clear: both; width: 400px; }
          form#752796 p#752802_C label {clear: both; width: 400px; }
          form#752796 p#752802_C input {clear: both; width: 396px; }
          form#752796 p#752801_C {clear: both; width: 400px; }
          form#752796 p#752801_C label {clear: both; width: 400px; }
          form#752796 p#752801_C input {clear: both; width: 396px; }
          form#752796 p#752803_C {clear: both; width: 400px; }
          form#752796 p#752803_C label {clear: both; width: 400px; }
          form#752796 p#752803_C input {clear: both; width: 396px; }
          form#752796 p#752805_C {clear: both; width: 400px; }
          form#752796 p#752805_C label {clear: both; width: 400px; }
          form#752796 p#752805_C input {clear: both; width: 396px; }

        </style>

    </head>
    <body>
        <div id="header">
            <div id="title"><bean:message key="V_paa.title"/></div>
            <div id="menu">
                <ul id="nav">
                    <li><script>var _msg1 = "<bean:message key="V_paa.cond1"/>";</script><cohesion:actor actors="1"><html:link action="/AElim_paa.do" paramId="idPaa" paramName="idPaa" onclick="if(!confirm(_msg1)) return false;"><bean:message key="V_paa.label1"/><%-- Eliminar --%></html:link></cohesion:actor></li>
                    <li><cohesion:actor actors="1"><html:link action="/APreCrear_paa_profesor.do" paramId="idProfesor_super" paramName="idProfesor_super"><bean:message key="V_paa.label2"/><%-- Agregar --%></html:link></cohesion:actor></li>
                    <li><cohesion:actor actors="1"><html:link action="/APre_profesor.do" paramId="idProfesor" paramName="idProfesor"><bean:message key="V_paa.label3"/><%-- Profesor --%></html:link></cohesion:actor></li>
                    <li><cohesion:actor actors="1"><html:link action="/APreCrear_observacion_Paa_paa.do" paramId="idPaa_super" paramName="idPaa_super"><bean:message key="V_paa.label5"/><%-- + Observaciones --%></html:link></cohesion:actor></li>

                </ul>
            </div>
        </div>
        <div id="body_wrapper">
            <div id="body">
                <div id="split">
                    <div class="top"></div>
                    <div id="left">
                        <div class="content">
                            ${empty msg ? "" : msg}
                <div class="box752796"><html:form styleId="F752796"
                  action="/AAct_paa.do" method="post">
                  <html:hidden property="idPaa"/>
                  <p id="752797_C"><label for="752797"><bean:message key="FPaa.label1"/><%-- Universidad : --%></label><html:text styleId="752797" property="universidad" size="30"/></p>
                  <p id="752799_C"><label for="752799"><bean:message key="FPaa.label2"/><%-- Pais : --%></label><html:text styleId="752799" property="pais" size="30"/></p>
                  <p id="752804_C"><label for="752804"><bean:message key="FPaa.label3"/><%-- Modalidad : --%></label><html:text styleId="752804" property="modalidad" size="30"/></p>
                  <p id="752798_C"><label for="752798"><bean:message key="FPaa.label4"/><%-- Fecha_inicio : --%></label><html:text styleId="752798" property="fecha_inicio" size="30" readonly="true" onclick="NewCal('752798','ddmmyyyy');"/></p>
                  <p id="752800_C"><label for="752800"><bean:message key="FPaa.label5"/><%-- Fecha_culminacion : --%></label><html:text styleId="752800" property="fecha_culminacion" size="30" readonly="true" onclick="NewCal('752800','ddmmyyyy');"/></p>
                  <p id="752806_C"><label for="752806"><bean:message key="FPaa.label6"/><%-- Fuente_financiamiento : --%></label><html:text styleId="752806" property="fuente_financiamiento" size="30"/></p>
                  <p id="752802_C"><label for="752802"><bean:message key="FPaa.label7"/><%-- Tipo_financiamiento : --%></label><html:text styleId="752802" property="tipo_financiamiento" size="30"/></p>
                  <p id="752801_C"><label for="752801"><bean:message key="FPaa.label8"/><%-- Monto_financiamiento : --%></label><html:text styleId="752801" property="monto_financiamiento" size="30"/></p>
                  <p id="752803_C"><label for="752803"><bean:message key="FPaa.label9"/><%-- Profesor : --%></label><html:select styleId="752803" property="profesor"><html:optionsCollection property="listProfesor"/></html:select></p>

                  <html:submit styleClass="button"><bean:message key="V_paa.label0"/><%-- Actualizar --%></html:submit>
                </html:form></div>
                <% request.setAttribute("_vacio", new Object[0]);%>
                <h2><bean:message key="V_paa.label4"/><%-- Observaciones --%></h2>
                <table border="1">
                    <thead>
                        <tr>
                            <th><bean:message key="V_paa.label4.2"/><%-- Fecha --%></th>
                            <th><bean:message key="V_paa.label4.3"/><%-- Texto --%></th>

                        </tr>
                    </thead>
                    <tbody>
                        <logic:iterate id="observacion_Paa" collection="${empty L_Observacion_Paa ? _vacio : L_Observacion_Paa}">
                            <tr>
                                <td><html:link action="/APre_observacion_Paa.do" paramId="idObservacion_Paa" paramName="observacion_Paa" paramProperty="idObservacion_Paa">${empty observacion_Paa.fecha ? "Editar" : observacion_Paa.fecha}</html:link></td>
                                <td>${observacion_Paa.texto}</td>

                            </tr>
                        </logic:iterate>
                    </tbody>
                </table>

                        </div>
                    </div>
                    <div id="right"><ul id="nav"><li><script type="text/javascript">var hb = new HelpBalloon({ dataURL: '/ddpdb/tooltip.do?V=V_paa'});</script></li></ul><jsp:include page="/ppal/menu.jsp" flush="true"/></div>
                    <div class="clearer"></div>
                    <div class="bottom"></div>
                </div>
                <div class="clearer"></div>
            </div>
            <div class="clearer"></div>
        </div>
        <div id="end_body"></div>
        <div id="footer"> <bean:message key="bottom.label"/> </div>
        
    </body>
</html:html>